﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.TeamFoundation.Server;

namespace FunctionPoint.Common
{
    public static class TfsSecurityObjectFactory
    {
        //public static TfsSecurityObject GetSecurityObject(Identity identity)
        //{
        //    if (identity.Type == IdentityType.WindowsGroup || identity.Type == IdentityType.ApplicationGroup)
        //        return new TfsUserGroup(identity);
        //    else if (identity.Type == IdentityType.WindowsUser)
        //        return new TfsUser(identity);

        //    return null;
        //}


    }
}
